<template>
  <div>
      <header class="head">
          <router-link to="/jlcy" tag="span" class="s"><返回</router-link>
          <p>修改密码</p>
      </header>
      <div class="n">
          您好:
      </div>
      <div class="jiu">
            <span>旧密码:</span>
            <input type="text" placeholder="请输入旧密码">
        </div>
        <div class="xin">
            <span>新密码:</span>
            <input type="text" placeholder="请输入新密码">
        </div>
        <div class="queren">
            <span>确认新密码:</span>
            <input type="text" placeholder="请输入确认新密码">
        </div>
        <div class="tj">
            <router-link to="/denglu" tag="button" class="btn">提交</router-link>
        </div>
  </div>
</template>
<script>
export default {
  
}
</script>
<style lang="less" scoped>
    .px2rem(@name, @px) {
        @{name}: @px / 75 * 1rem;
    }
    .head{
    position: relative;
    width: 100%;
    .px2rem(height,50);
    background: red;
    display: flex;
    // justify-content: center;
    p{ 
       width: 100%;
        text-align: center;
        .px2rem(font-size, 30);
        color: #fff;
        font-family: '楷体';
        line-height: 1.8;
    }
    span{
        position: absolute;
        top: 0;
        left: 0;
        .px2rem(width, 100);
        .px2rem(height, 50);
        .px2rem(font-size, 20);
        text-align: center;
        line-height: 2.6;
    }
}
.n{
    margin-top: 20px;
    .px2rem(font-size,30);
    color: green;
    margin-left: 20px;
}
.jiu{
    display: flex;
    justify-content: center;
    margin-top: 20px;
    .px2rem(font-size, 22);
    .px2rem(font-weight, 600);
    span{
        margin-top: 4px;
    }
}
.xin{
    display: flex;
    justify-content: center;
    margin-top: 20px;
    .px2rem(font-size, 22);
    .px2rem(font-weight, 600);
    span{
        margin-top: 4px;
    }
}
.queren{
    display: flex;
    justify-content: center;
    margin-top: 20px;
    .px2rem(font-size, 22);
    .px2rem(font-weight, 600);
    margin-right: 29px;
    span{
        margin-top: 4px;
    }
}
.tj{
    display: flex;
    justify-content: center;
    margin-top: 30px;
    .btn{
        .px2rem(width, 300);
        .px2rem(height, 40);
    }
}
</style>
